package com.isale.common.model.sso;


/**
 * Created by bjs on 14-3-15.
 */
public class AdminHolder<T> {

    public static final String REQUEST_KEY = "adminHost";
    public static final String COOKIE_KEY = "_xj0_23_";
    public static final String COOKIE_VALUE = "_fsfj_33";

    private T admin;


    public T getAdmin() {
        return admin;
    }

    public void setAdmin(T admin) {
        this.admin = admin;
    }

    public boolean isLogin() {
        return admin != null;
    }


}
